package com.etoak.mapper;


import com.etoak.bean.HomestayOrder;
import com.etoak.bean.HomestayOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HomestayOrderMapper   {

    int insert(HomestayOrder order);

    List<HomestayOrderVO> selectByUid(String uid);

    HomestayOrderVO selectByOnum(String onum);

    int updateStatus(@Param("onum")String onum,@Param("status") Integer status);

    int del(String onum);
}